home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2012 February / maximum-cd-2012-02.iso / DiscContents / TheWagerSetup1.2.exe / Assets / Scripts / [25].lua < prev    next >
Encoding:
Text File  |  2011-02-26  |  614 b   |  16 lines

  1. -- Script [25]
  2. Starting = 0;
  3. SeaEvent = 0;
  4.  
  5. if CrewPower >=18 then
  6.   ScroungeAmount = 1800;
  7. else
  8.   ScroungeAmount = CrewPower * 100
  9. end
  10.  
  11. ShowStoryText("Catching a monkey is not as easy as you first thought, with the monkey jumping around from tree to tree and spilling your precious Pieces all over the place. When you finally nab the scoundrel, you find that you have managed to scrounge up " .. ScroungeAmount .. " Pieces. Better than nothing.");
  12.  
  13. PlayerCash = PlayerCash + ScroungeAmount;
  14. AddCaptainsLog("Chased down a thieving monkey, getting back some of the money it stole, the scoundrel.");
  15.  
  16.